[INFO] cloning repository https://github.com/Siimas/blockchain-in-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Siimas/blockchain-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiimas%2Fblockchain-in-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiimas%2Fblockchain-in-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e000883179be879edb1c9d821b5e4a10b034838
[INFO] fixing Siimas/blockchain-in-rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSiimas%2Fblockchain-in-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Siimas/blockchain-in-rust
[INFO] finished tweaking git repo https://github.com/Siimas/blockchain-in-rust
[INFO] tweaked toml for git repo https://github.com/Siimas/blockchain-in-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Siimas/blockchain-in-rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Siimas/blockchain-in-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee
[INFO] running `Command { std: "docker" "start" "257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking blockchain-in-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/transaction.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |     Transaction{
[INFO] [stdout]    |     ----------- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |       sender_public_key: ,
[INFO] [stdout]    |                          ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/transaction.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |     Transaction{
[INFO] [stdout]    |     ----------- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |       sender_public_key: ,
[INFO] [stdout]    |                          ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]   --> src/transaction.rs:50:3
[INFO] [stdout]    |
[INFO] [stdout] 50 |   }
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `}`
[INFO] [stdout]   --> src/transaction.rs:50:3
[INFO] [stdout]    |
[INFO] [stdout] 50 |   }
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ecdsa::verifying::VerifyingKey<Secp256k1>: Hash` is not satisfied
[INFO] [stdout]  --> src/transaction.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Hash, Debug)]
[INFO] [stdout]   |          ---- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 9 |   pub sender_public_key: VerifyingKey,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `ecdsa::verifying::VerifyingKey<Secp256k1>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ecdsa::verifying::VerifyingKey<Secp256k1>: Hash` is not satisfied
[INFO] [stdout]  --> src/transaction.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Hash, Debug)]
[INFO] [stdout]   |          ---- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 9 |   pub sender_public_key: VerifyingKey,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `ecdsa::verifying::VerifyingKey<Secp256k1>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/transaction.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |   pub fn validate(&self) -> Result<(), TransactionValidationError> {
[INFO] [stdout]    |                             -------------------------------------- expected `Result<(), TransactionValidationError>` because of return type
[INFO] [stdout] 48 |     // validate signature
[INFO] [stdout] 49 |     self.
[INFO] [stdout]    |     ^^^^ expected `Result<(), TransactionValidationError>`, found `&Transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), TransactionValidationError>`
[INFO] [stdout]            found reference `&Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/transaction.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |   pub fn validate(&self) -> Result<(), TransactionValidationError> {
[INFO] [stdout]    |                             -------------------------------------- expected `Result<(), TransactionValidationError>` because of return type
[INFO] [stdout] 48 |     // validate signature
[INFO] [stdout] 49 |     self.
[INFO] [stdout]    |     ^^^^ expected `Result<(), TransactionValidationError>`, found `&Transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), TransactionValidationError>`
[INFO] [stdout]            found reference `&Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key`
[INFO] [stdout]   --> src/wallet.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn generate_address(public_key : &VerifyingKey) -> String {
[INFO] [stdout]    |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key`
[INFO] [stdout]   --> src/wallet.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn generate_address(public_key : &VerifyingKey) -> String {
[INFO] [stdout]    |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bob_wallet`
[INFO] [stdout]   --> src/main.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |   let bob_wallet = Wallet::new();
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bob_wallet`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[warn(unused_variables)] // ! DELETE
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bob_wallet`
[INFO] [stdout]   --> src/main.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |   let bob_wallet = Wallet::new();
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bob_wallet`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[warn(unused_variables)] // ! DELETE
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain-in-rust` (bin "blockchain-in-rust" test) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `blockchain-in-rust` (bin "blockchain-in-rust") due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee", kill_on_drop: false }`
[INFO] [stdout] 257c7d00759d3cb983353229e14e2192f126d5617e83e767082f1a5f4d1a6aee
